package com.wgchao.amc.entity.autho;

import javax.persistence.*;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @作者  wgchao
 * @时间 2019-10-31 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table ( name ="sys_autho_group_func" )
public class SysAuthoGroupFunc  implements Serializable {

	private static final long serialVersionUID =  1357181919459306250L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id" )
	private Long id;

	/**
	 * 部门菜单权限主键
	 */
   	@Column(name = "ag_id" )
	private Long agId;

	/**
	 * 功能标示
	 */
   	@Column(name = "func_id" )
	private Long funcId;

}
